package com.wangshidai.order.controller;


import com.wangshidai.order.feign.UserControllerFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order")
public class OrderController {

    @Autowired
    private UserControllerFeignService userControllerFeignService;

    @RequestMapping("/queryOrder")
    public String queryOrder(){
        String str = userControllerFeignService.queryUser();
        return str;
    }
}
